
package de.fhhof.brst.data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Transient;
import org.apache.catalina.util.MD5Encoder;
import sun.security.provider.MD5;
public class User implements Serializable {
  /**
   * 
   */
  @Transient
  private static final long serialVersionUID =  80025010892234150L;

  private long id;

  private String firstname;

  private String lastname;

  private String password;

  private String email;

  private String street;

  private String city;

  private Date age;

  private boolean isAdmin =  false;

  public User() {
		// TODO Auto-generated constructor stub
  }

  public Long getId() {
		return id;
  }

  public void setId(Long id) {
		this.id = id;
  }

  public String getStreet() {
		return street;
  }

  public void setStreet(String street) {
		this.street = street;
  }

  public String getCity() {
		return city;
  }

  public void setCity(String city) {
		this.city = city;
  }

  public Date getAge() {
		return age;
  }

  public void setAge(Date age) {
		this.age = age;
  }

  public void setId(long id) {
		this.id = id;
  }

  public String getFirstname() {
		return firstname;
  }

  public void setFirstname(String firstname) {
		this.firstname = firstname;
  }

  public String getLastname() {
		return lastname;
  }

  public void setLastname(String lastname) {
		this.lastname = lastname;
  }

  public String getPassword() {
		return password;
  }

  public void setPassword(String password) {
		this.password = password;
  }

  public String getEmail() {
		return email;
  }

  public void setEmail(String email) {
		this.email = email;
  }

  public boolean isAdmin() {
		return isAdmin;
  }

  public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
  }

}
